package com.example.makerspace.dao;

import com.example.makerspace.domain.ResourceDO;
import com.example.makerspace.mapper.ResourceMapper;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

@Component
public class ResourceDAO extends BaseDAO<ResourceDO> {

    @Resource
    private ResourceMapper resourceMapper;

    @PostConstruct
    public void init(){
        this.mapper = resourceMapper;
    }

}
